package com.share.finance.collection.core.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 通知日志记录
 * </p>
 *
 * @author author
 * @since 2024-09-02
 */
@Data
@Accessors(chain = true)
@TableName("coll_notice_log")
public class NoticeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 逾期id
     */
    @TableField(value = "overdue_info_id")
    private Long overdueInfoId;

    /**
     * 还款计划id
     */
    @TableField(value = "plan_id")
    private Long planId;

    /**
     * 身份证号码
     */
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 用户名称
     */
    private String name;
    /**
     * 手机号码
     */
    @TableField(value = "phone_no")
    private String phoneNo;
    /**
     * 消息类型
     */
    private Integer type;
    /**
     * 通知的内容
     */
    private String message;
    /**
     * 备注信息
     */
    private String remark;
    /**
     * 催收员id
     */
    @TableField(value = "operator_id")
    private String operatorId;
    /**
     * 状态：0-无效，1-有效
     */
    private Integer status;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

}
